pkgname=cyclictest
pkgver=2.1
pkgrel=1
pkgdesc="Cyclictest is a high resolution test program"
arch=('i386' 'x86_64' 'riscv64')
url="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests"
license=('GPL')
makedepends_debian_11=(build-essential libnuma-dev)
source=("https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git")
md5sums=('SKIP')

package() {
	cd "$srcdir/rt-tests"
	git checkout -b stable/v${pkgver} v${pkgver}
	make prefix="${pkgdir}/lkp/benchmarks/${pkgname}"
	make prefix="${pkgdir}/lkp/benchmarks/${pkgname}" install
}
